package com.free.plan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.free.common.core.annotation.Excel;
import com.free.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 开发计划对象 dev_plan
 *
 * @author free
 * @date 2024-02-08
 */
@Data
public class DevPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 状态
     */
    @Excel(name = "状态 ")
    private Integer status;
    @Excel(name = "状态字符串")
    private String statusStr;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime beginTime;

    /**
     * 完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime completeTime;


}
